﻿using System;
using System.Collections.Generic;
using System.Text;
using HZU.ZP.Domain.Model;

namespace HZU.ZP.Domain.IService
{
    public interface ICompanyService
    {
        Company Login(Company company);
        bool Register(Company company);
        bool Update(Company company);
        IList<Company> GetComList(int status, int pageIndex);
        Company GetByEmail(string email);
        Company GetByName(string companyName);
        Company GetByNumber(string companyNumber);
        Company GetId(int id);
        int GetCount(int status);
    }
}
